package com.mt.api.modules.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * @Author: plover
 * @Date: 2022-04-30
 * @Description:
 */
@TableName("es_stock_taking_detail")
@Data
public class StockTakingDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单id
     */
    private Integer stockTakingId;
    /**
     * sku id
     */
    private Integer skuId;
    /**
     * sku码
     */
    private String skuCode;
    /**
     * 款号id
     */
    private Integer cargoId;
    /**
     * 款号
     */
    private String cargoNo;
    /**
     * 颜色
     */
    private String color;
    /**
     * 尺码
     */
    private String size;
    /**
     * 盘点前数量
     */
    private Integer beforeQty;
    /**
     * 盘点数量
     */
    private Integer qty;
    /**
     * 盘点变化数量
     */
    private Integer changeQty;
    /**
     * 是否删除 0-否 1-是
     */
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    private Integer createId;

    @TableField(fill = FieldFill.INSERT)
    private String creator;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateId;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updater;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}